package format;


import cn.hutool.core.util.StrUtil;
import com.ruoyi.common.utils.StringUtils;

public class StringFormatTest {
    public static void main(String[] args) {

        //String fileName = StringUtils.format("{}/domain/{}.java", "xxx", "aaa");
        // System.out.println(fileName);
      /*  String template = "{}{}";
        String format = StrUtil.format(template, "LDC", "20201112");//str -> 我爱你，就像老鼠爱大米
        System.out.println(format);*/
        String[] split = "100".split("-");
        System.out.println(split.length);


        System.out.println(StringUtils.capitalize("detail"));
    }


}
